﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="ManejoCoordinador.aspx.cs" Inherits="TCU.ManejoCoordinador" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

<h1>Manejo de Coordinadores de TI</h1>
<asp:Label ID="notificacion" runat="server" ForeColor="Red" ></asp:Label>
<center>

    <asp:GridView ID="gvCoordinadores" runat="server" AutoGenerateColumns="False" 
        AutoGenerateEditButton="True" onrowediting="gvCoordinadores_RowEditing" 
        onrowupdating="gvCoordinadores_RowUpdating" 
        onrowcancelingedit="gvCoordinadores_RowCancelingEdit" CssClass="table" 
        GridLines="None">
        <Columns>
            <asp:TemplateField HeaderText="Circuito" SortExpression="Circuito">
                <EditItemTemplate>
                    <asp:Label ID="Label1" runat="server" Text='<%# Bind("Circuito") %>'></asp:Label>
                    <asp:HiddenField ID="hiddenCircuitoID" runat="server" value='<%# Bind("CircuitoID") %>'/>
                </EditItemTemplate>
                <ItemTemplate>
                    <asp:Label ID="Label1" runat="server" Text='<%# Bind("Circuito") %>'></asp:Label>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="Informatico" SortExpression="Informatico">
                <EditItemTemplate>                
                    <asp:HiddenField ID="hiddenCircuitoID_old" runat="server" 
                        value='<%# Bind("InformaticoID") %>'/>
                    <asp:DropDownList ID="editDropInformatico" runat="server">
                    </asp:DropDownList>
                </EditItemTemplate>
                <ItemTemplate>
                    <asp:Label ID="Label2" runat="server" Text='<%# Bind("Informatico") %>'></asp:Label>
                </ItemTemplate>
            </asp:TemplateField>
        </Columns>
    </asp:GridView>

</center>

    

</asp:Content>
